package com.insideClass.TypeMessage;

/**
 * @author 13699
 */
public class GenericToyTest {
    public static void main(String[] args)throws Exception {
        Class<FancyToy> ftClass=FancyToy.class;
        FancyToy fancyToy=ftClass.newInstance();
        Class<?super FancyToy> up=ftClass.getSuperclass();
        Object obj=up.newInstance();
    }
}
